<template>
  <div>
    <el-breadcrumb el-breadcrumbseparator-class="el-icon-arrow-right">
  <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
  <el-breadcrumb-item>权限管理</el-breadcrumb-item>
  <el-breadcrumb-item>权限列表</el-breadcrumb-item>
</el-breadcrumb>
<el-card>
       <el-table :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="date"
        label="日期"
        width="180">
      </el-table-column>
      <el-table-column
        prop="name"
        label="姓名"
        width="180">
      </el-table-column>
      <el-table-column
        prop="address"
        label="地址">
      </el-table-column>
    </el-table>
</el-card>
  </div>
</template>

<script>
export default {
    data() {
      return {
          accessList:[]      
        }
    },
    mounted() {
      this.getAccessList()
    },
    methods:{
     async getAccessList(){
          const {data:res}=await this.$http.get('rights/list').catch(err=>err)
              console.log(res);
      }
    }
}
</script>

<style>
    .el-breadcrumb{
      margin-bottom: 15px;
    }
</style>